<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<link href="bootstrap/css/bootstrap.css" rel="stylesheet" />
	<link href="css/Login2.css" rel="stylesheet" />
	<script type="text/javascript" src="/js/jquery-1.9.1.js"></script>
	<title>Login</title>
</h:head>
<h:body>
<p:growl  id="mensagem" showDetail="true" autoUpdate="true"
		closable="true" />
	<h:form id="formLogin">
		<div class="divOuter divOuterCabecalho">
			<div class="divMiddle"></div>
		</div>

		<div class="divOuter divOuterLogin">
			<div class="divMiddle">
				<div class="divCaixaLogin">
					<div class="col12" style="text-align: center">
						<img src="Images/odonto.jpg"
							style="height: 70px; margin-top: 10px" alt="" title="" />
					</div>

					<div class="clear"></div>

					<div class="divOuter">

						<div class="divMiddle">

							<div class="divLogin">
								
								<p:outputLabel styleClass="labeltext" value="Login: "></p:outputLabel>
								<p:inputText styleClass="textLogin" id="login" value="#{UsuarioMB.usuario.login}"></p:inputText>
								<br></br>
								<p:outputLabel styleClass="labeltext" value="Senha: "></p:outputLabel>
								<p:inputText styleClass="textLogin"  id="senha" value="#{UsuarioMB.usuario.senha}"
									type="password"></p:inputText>
								<br></br><br></br><br></br>
								<h:commandButton styleClass="btnLogin"  action="#{UsuarioMB.existe}" value="Entrar" />
								
							</div>

						</div>

					</div>
					<br />
					<div class="divOuter">
						<div class="divMiddle">
							<div id="divError" class="divError">
								<br /> <span id="spanMensagem" />
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</h:form>
</h:body>
</html>